package io.itit.ecp.admin.server.service;

import icu.mhb.mybatisplus.plugln.base.service.JoinIService;
import io.itit.ecp.admin.server.entity.SceneCompanyEntity;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：公司服务类
 * @Date：Create by 2023-11-23 09:55:21
 */
public interface ISceneCompanyService extends JoinIService<SceneCompanyEntity> {

    /**
     * 新增公司信息
     * @param companyEntity
     * @param roomIds
     * @return
     */
    boolean saveCompany(SceneCompanyEntity companyEntity, List<String> roomIds);


    /**
     *  批量删除项目
     */
    boolean removeCompany(List<String> ids);

    /**
     * 编辑公司信息
     * @param companyEntity
     * @param roomIds
     * @return
     */
    boolean updateCompany(SceneCompanyEntity companyEntity, List<String> roomIds, List<String> cancelRoomIds);
}
